home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / os2 / am4pmsrc.zip / MAKEFILE < prev    next >
Text File  |  1996-01-01  |  806b  |  41 lines

  1. !ifdef RETAIL
  2. cflags=/Sm /O /J /Gm /Gs /Ss /Kb /N48 /G4
  3. linkcmd=link386 /MAP /LI /F /A:16 /base:65536 /NOI @$*.lnk
  4. !else
  5. cflags=/Sm /Ti /J /Gm /Ss /Kb /N48 /G4
  6. linkcmd=link386 /CO /base:65536 /NOI /MAP @$*.lnk
  7. !endif
  8.  
  9.  
  10. all: am4pm.tot am4pm.msg am4pmcmd.exe
  11.  
  12. am4pm.msg: $*.mst
  13.   mkmsgf $*.mst $*.msg
  14.  
  15. am4pm.obj: $*.c am4pm.h am4pmdlg.h
  16.   icc $(cflags) $*.c /c
  17.  
  18. am4pmw.obj: $*.c am4pm.h
  19.   icc $(cflags) $*.c /c
  20.  
  21. am4pmr.obj: $*.c am4pm.h
  22.   icc $(cflags) $*.c /c
  23.  
  24. pmlog.obj: $*.c am4pm.h
  25.   icc $(cflags) $*.c /c
  26.  
  27. am4pm.res : $*.rc $*.ico $*.dlg $*dlg.h msg.ico
  28.      rc -r $*.rc
  29.  
  30. am4pm.exe: am4pm.obj am4pmr.obj am4pmw.obj pmlog.obj am4pm.def
  31.   $(linkcmd)
  32.  
  33. am4pm.tot : $*.res $*.exe
  34.      rc $*.res
  35.      echo $@ created > $@
  36.  
  37. am4pmcmd.exe: am4pm.h
  38.   icc $(cflags) $*.c
  39.  
  40.  
  41.